<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>个人主页</title>
<link rel="stylesheet" type="text/css" href="css/footer.css">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://www.maksdu.com/static/js/jquery.min.js"></script>
</head>

<body style="background-color: black;">
<div id="main" style="background-color: black;">
    <section class="aui-flexView">
        <header class="aui-navBar aui-navBar-fixed">
            <a href="javascript:history.back(-1);" class="aui-navBar-item">
                <i class="icon icon-return" style="width:12px"></i>
            </a>
            <div class="aui-center">
                <span class="aui-center-title">头像设置</span>
            </div>
            <a href="javascript:;" class="aui-navBar-item">
                <i class="icon icon-sys"></i>
            </a>
        </header>
        <section class="aui-scrollView">
            <div class="divHeight"></div>
            <div class="img-header-box topw pic">
                <img class="preview-box" @click="imgUploadClick()" :src="info.headpic" :alt="info.headpic"></img>
            </div>
            <input type="file" id="file" @change="imgChange"/>
        </section>
    </section>
</div>
<script type="text/javascript">
    (function (doc, win) {
     var docEl = doc.documentElement,
     resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
     recalc = function () {
       var clientWidth = docEl.clientWidth;
       if (!clientWidth) return;
       docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
     };

      if (!doc.addEventListener) return;
      win.addEventListener(resizeEvt, recalc, false);
      doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);    
</script>
<script type="text/javascript" src="https://www.maksdu.com/static/js/base.js"></script>
<script type="text/javascript" src="js/info.js"></script>
</body>
</html>
